package com.smartwebx.ha.web.util.valve;

import com.alibaba.citrus.service.pipeline.PipelineContext;
import com.alibaba.citrus.turbine.pipeline.valve.AbstractInputOutputValve;
import com.smartwebx.ha.dal.config.StatGroupThreadLocal;

/**
 * 清空当前线程用户站群的数据
 * @author zhangxi
 *
 */
public class CleanUseStatGroupValve extends AbstractInputOutputValve {

	@Override
	public void invoke(PipelineContext pipelineContext) throws Exception {
		StatGroupThreadLocal.remove();
		pipelineContext.invokeNext();
	}
}